<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/global.jsp"%>
<%@ include file="/common/include_common.jsp"%>
<%
	String base = request.getContextPath();
%>
<!--
	*
	*@author huangyuhao
	*@createTime "2018年4月20日下午2:56:14"
	*@version 1.0
-->
<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<meta name="author" content="hyh" />
		<title>车站信息管理</title>
		<link rel="stylesheet" href="../../resources/css/directBusClient/public.css" />
	</head>

	<body>
	<!-- 条件搜索区 -->
	<div id="searchForm">
			<ul class="backgroundCol">
					<li></li>
					<li>车站查询</li>
			</ul>
			<div class="navbar-form navbar-left" role="search">
				查询类型：
				<!--<div class="form-group">-->
					<select class="form-control" id="busSupplyInfo">
						<option value="">根据车站名称查询</option>
						<option value="">根据城市名称查询</option>
					</select>
				<!--</div>-->
			</div>
			<div class="navbar-form navbar-left" role="search">
					<div class="form-group">
			      <input size="16" id="fullName" type="text" value=""	placeholder="" class="form-control">
			    </div>
			</div>
			<div class="navbar-form navbar-left" role="search">
				上下线：
					<select class="form-control" id="busSupplyInfo">
						<option value="1">上线</option>
						<option value="0">下线</option>
					</select>
			</div>
			<div class="navbar-form navbar-left" role="search">
				审批状态：
					<select class="form-control" id="busSupplyInfo">
						<option value="0">未申请</option>
						<option value="1">审核中</option>
						<option value="2">审批通过</option>
						<option value="3">已打回</option>
					</select>
			</div>
			<div class="navbar-form navbar-left" role="search">
				  <button id="search" type="button" class="btn btn-primary">搜索</button>
			</div>
			<div class="navbar-form navbar-left" role="search">
				  <button id="reset" type="button" class="btn btn-default">重置</button>
			</div>
	</div>
<!--	<div id="main">-->
		<!-- 按钮操作区 -->
		<div id="toolbar">
			<a class="waves-effect btn btn-info btn-sm"
				href="javascript:addAction();"><i class="zmdi zmdi-plus"></i>
				新增</a> 
			<a class="waves-effect btn btn-warning btn-sm"
				href="javascript:editAction();"><i class="zmdi zmdi-edit"></i>
				编辑</a> 
			<a class="waves-effect btn btn-danger btn-sm"
				href="javascript:deleteAction();"><i class="zmdi zmdi-delete"></i>
				删除</a> 
			<a class="waves-effect btn btn-default btn-sm"
				href="javascript:roleAction();"><i class="zmdi zmdi-outlook"></i>
				申请审批</a>
			<a class="waves-effect btn btn-default btn-sm"
				href="javascript:roleAction();"><i class="zmdi zmdi-outlook"></i>
				查看审批意见</a>
				
		</div>
		<table id="table"></table>
	  
	   	<!--modal框-->
	  <div id="busSpotDialog" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
			<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 id="ModalTitle" class="modal-title">车站管理</h4>
				</div>
				<div class="modal-body">
						<form role="form">
							<div class="form-group">
								<label for="busSpotName">车站名称<span class="text-danger">&nbsp;*</span></label>
								<input type="text" id="busSpotName" name="busSpotName" class="form-control" placeholder="请输入车站名称"></input>
							</div>
							<div class="form-group">
								<label for="cityname">城市名称</label>
								<select id="cityname" name="cityname" class="form-control">
									<option>郑州</option>
									<option>驻马店</option>
								</select>
							</div>
							<div class="form-group">
								<label for="busSpotState">状态</label>
									<select id="busSpotState" name="busSpotState" class="form-control">
									<option>上线</option>
									<option>下线</option>
								</select>
							</div>
							<div class="form-group">
								<label for="busSpotAddr">车站具体地址<span class="text-danger">&nbsp;*</span></label></label>
								<input type="text" id="busSpotAddr" name="busSpotAddr" class="form-control" placeholder="请输入车站地址"></input>
							</div>
							<div class="form-group">
								<label for="telephone">联系电话<span class="text-danger">&nbsp;*</span></label>
								<input type="text" class="form-control" id="telephone" name="telephone" placeholder="联系电话"></input>
							</div>
						</form>
					</div>
				<div class="modal-footer">
					<button type="button" id="close-btn" class="btn btn-default btn-sm"
						data-dismiss="modal">
						<i class="zmdi zmdi-close"></i> 关闭
					</button>
					<button id="userSave-btn"
						class="waves-effect btn btn-success btn-sm"
						style="margin-left: 10px;" button"
					href="javascript:;">
						<i class="zmdi zmdi-save"></i> 保存
					</button>
				</div>
			</div>
		</div>
		</div>
		<script src="../../resources/js/directBusClient/busSpot.js"></script>
	</body>

</html>